home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best of www.BestZips.com (Collector's Edition)
/
Best of WWW.BESTZIPS.COM Collector's Edition (JCSM Shareware) (JCS Marketing).ISO
/
bbs_syst
/
cash3lot.zip
/
Lotto.doc
< prev
next >
Wrap
Text File
|
1996-10-19
|
9KB
|
253 lines
Cash3 Lotto(TM)
Version 3.5
Copyright (c)1996
By Steven W. Lucey
All rights reserved.
Support boards are:
The Power Board BBS
- Steven W. Lucey -
- Main Number 502.447.6649-
C O N T E N T S
=================
Warranty ............................................ 1
Copyright notice .................................... 2
Distribution ........................................ 2
Description ......................................... 2
Setup................................................ 3
Batch file example................................... 4
Config file example.................................. 4
Game play options.................................... 4
Miscellaneous........................................ 5
Fossil Drivers....................................... 6
Environment variables................................ 6
486DX CPU............................................ 7
Contacting the Author.................................8
Sources for the latest releases.......................9
Warranty
This product is provided "as is" without warranty of any kind. The entire
risk as to the results and performance of the program is assumed by you.
Futhermore, the author does not warrant, guarantee, or make any other
representations regarding the use of, or the results of the use of the
program, and you rely on the program and results solely at your own
risk. The author cannot and will not accept responsibility for system
damage, loss of profit, or any other special, consequential or incidental
damages resulting from the use or inability to use this product.
Copyright
Cash3 Lotto (Copyright (c) 1996 by Steven W. Lucey) is being
distributed as Shareware. Under this concept you may use the SHAREWARE
(unregistered) version for a reasonable period of time (30 days) for
evaluation after which you should either register your copy or discontinue
usage.
Distribution
You are encouraged to distribute Cash3 Lotto provided that all files
contained in the archive are distributed in their original and
unmodified state.
Description
Cash3 Lotto is a door program that enables callers to take a chance at
winning a straight-box draw of 3-numbers. SysOps can award prizes for
those who win. Ie., I use this door program as a give-away for some
useful DOS/Windows utilities that I write.
Cash3 Lotto was compiled with QUICKBASIC (tm) 4.5 and DOORFRAME 4.9 (tm).
==========================================
SETUP:
======
1) Unzip Cash3 Lotto into a directory from which you plan to run the door
from. You may name this directory anything you wish.
2) Using a text editor, create a config file with the following info:
Line 1: Path & Door drop file ex: c:\bbs\door.sys
Line 2: SysOp First Name ex: Steven
Line 3: SysOp Last Name ex: Lucey (or leave this line blank if using a handle)
Line 4: Registration # ex: 00000 if unregistered
(a sample config file is included should you want to simply edit this file)
3) Using a text editor, create a batch file with the following info:
Line 1: cd\PATH_TO_DOOR ex: c:\doors\cwords
Line 2: lotto ???.cfg ex: cwords cwords.cfg
(You may name your config file anything)
Line 3: cd\BBS ex: cd\pcb
Line 4: board :some BBS's require a command to re-start the BBS
(a sample batch file is included should you want to simply edit this file)
4) Create a text file called 'win.txt' in your Cash3 directory that contains
from one to four lines of text that you want displayed to your players that choose
all three correct numbers.
BATCH FILE EXAMPLE
==================
Example batch file used to call the door using DOOR.SYS:
---------------------------------------------------------
@echo off
cd\doors\lotto
lotto lotto.cfg
cd\pcb\node1
board
CONFIGURATION FILE EXAMPLE
==========================
Example config file:
--------------------
c:\PCB\NODE1\DOOR.SYS
The Power Board BBS
Steven
Lucey
00000
GAME PLAY OPTIONS
=================
When the door starts, you enter 3 numbers (0-9). After that the program
will generate 3 random numbers and test to see if your 3 numbers are a
match (in any order).
If so, the contents of your 'win.txt' file will be displayed on screen.
Also, a 'winners.dat' file is created (or appended) with the winners
name, the 3 numbers he/she picked, and the 3 numbers the computer randomly
selected (for verification purposes). Also, another file is created called
'winners.txt' (this file contains names of previous winners).
If you do not win, a simple 'sorry' is displayed and players are asked
if they wish to try again....max of 3 attempts per entry.
Note: Limitations on the contents of your 'win.txt' file:
- Max of 4 lines
- 60 characters max per line
MISCELLANEOUS NOTES
===================
Cash3 Lotto requires DOS 3.x and up since all files are opened in SHARED mode.
The DOOR.SYS used is the standard 52 line GAP (tm) file.
If ANY Basic error is encountered, it will be printed to the screen and written
to DFRAME.ERR. Door will then exit back to the BBS cleanly.
Fossil Driver Support
---------------------
Supports the use of Fossil drivers. To tell the door to use the
Fossil driver instead of the standard COM ports, just put /FD on the command
line when running the door. For example:
lotto.lottoCFG /FD
indicates that a Fossil driver is present and should be used. If no Fossil
driver is detected, the door will print a message to that effect and exit
the door gracefully.
Environment Variables
---------------------
Supports COM 1-4 on the standard IRQ's - COM1/COM3 = IRQ4 and
COM2/COM4 = IRQ3. If you wish to use a non-standard IRQ, add the IRQ
number after the configuration filename. Let's assume you want to use COM1
and IRQ5. The command line passed would be:
lotto lotto.CFG /5 or
lotto lotto.CFG /%IRQ% for the environment variable.
The /5 tells the door to use IRQ5 rather than the standard IRQ4 that
is normally used with COM1. No /x parameter is needed for the standard IRQ's.
When specifying the location of the system file on line 1 of the config
file, you may use the environment variables %pcbdrive%, %pcbdir%, %pcbnode%.
Some examples:
PCBoard:
USERS.SYS in C:\PCB - %pcbdrive%%pcbdir%\USERS.SYS
USERS.SYS in C:\PCB\NODE1 - %pcbdrive%%pcbdir%\NODE%pcbnode%\USERS.SYS
Non-PCBoard systems may use the PCB environment variables by setting them
in either AUTOEXEC.BAT or in the batch that runs the door. For example:
SET PCBDRIVE=C:
SET PCBDIR=\BBSDIR
SET PCBNODE=1
486DX CPU's
-----------
The math coprocessor in 486DX CPUs cannot handle floating point math which
all MicroSoft Basic's use. This can show up as an ERROR 5, a keyboard
timeout, etc.
Fortunately there is an easy fix for this problem. Simply place the following
line in the AUTOEXEC.BAT file:
SET NO87=ON
Contacting the Author
=-=-=-=-=-=-=-=-=-=-=
The Support BBS is:
-------------------
The Power Board BBS..........502-447-6649
On Prodigy:
-----------
Member ID....................ZYAH67A
On Compuserve:
--------------
Member ID....................104542,2570
Internet E-mail:
----------------
Address #1......................steven_lucey@prodigy.com
Address #2......................slucey@powerbrd.win.net
Address #3......................104542.2570@compuserve.com
Address #4......................steven4142@aol.com
Voice:
------
.............................502-447-3474 (M-F 8-2p EST.)
**NOTE: Registrations are taken from all of the above. Your registration number will
be available within 24 hours on the Support BBS and/or thru the Internet
(or online service) if you so choose (please leave your Internet address or
online service ID).
Fastest registration:
---------------------
Additionally, SysOps wishing to register a door game (via Visa or MasterCard
or Check) may also call the support BBS (at 502-447-6649) and sign on using the user-id
BBS DOORS and the password REGISTER. This will by-pass ALL the log-in files and
take you immediately to the registration screen.
Current Versions:
=-=-=-=-=-=-=-=-=
The best source for current versions of our door games:
The Support BBS............502-447-6649
WWW Home Page..............http://www.win.net/~powerbrd